package com.chinasofti.controluser.controller;

import lombok.extern.slf4j.Slf4j;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.chinasofti.controlcommon.common.ServerResponse;
import com.chinasofti.controlcommon.domain.entity.SysUser;
import com.chinasofti.controluser.service.ControlCompanyService;

@Slf4j
@RestController
public class UserControlCompany {
	
	@Autowired
	private ControlCompanyService controlCompanyService;

    @RequestMapping("/addcompany")
    @ResponseBody
    //@RequestParam 是post请求字符串标注
    // @RequestBody 是标注对象参数，例：String addLable(@RequestBody PointMsg lableName)
    // PointMsg是实体类标注   addcompany
    public String testaddcompany(){
        return "add user springboot success";

    }
    

}
